package com.manage.service.impl;

import com.manage.domain.City;
import com.manage.mapper.CityMapper;
import com.manage.service.CityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by holyq on 2016/7/9.
 */

@Service(value="cityService")
public class CityServiceImpl implements CityService {

    @Resource
    private CityMapper cityMapper;


    @Override
    public City findCityById(int cityId){
        return cityMapper.selectByPrimaryKey(cityId);
    }

}
